#!/usr/bin/python
# -*- coding: utf-8 -*-
#################baseif##############
#age = 5
#if age >= 18:
#	print('adult')
#elif age >= 6:
#	print('teenager')
#else:
#	print('kid')
############# birth if ##############
# 注意:
# input()返回的是字符串
# 必须通过int()将字符串转换为整数
# 才能用于数值比较:
#s = input('birth:')
#birth = int(s)
#if birth < 2000:
#	print('00前')
#else:
#	print('00后')

#height = 1.75
#weight = 80.5
h = input('height:')
w = input('weight:')
height = float(h)
weight = float(w)
bmi = weight / ( height * height)
if bmi < 18.5:
	print('name,你的BMI指数为%.1f,体重过轻.' %(bmi))
elif 18.5 < bmi <= 25:
	print('name,你的BMI指数为%.1f,体重正常.' %(bmi))
elif 25 < bmi <=28:
	print('name,你的BMI指数为%.1f,体重过重.' %(bmi))
elif 28 < bmi <=32:
    print('name,你的BMI指数为%.1f,肥胖.' %(bmi))
elif bmi >32:
    print('name,你的BMI指数为%.1f,严重肥胖.' %(bmi))
